<?php
/**
 * Author: lf
 * Blog: https://blog.feehi.com
 * Email: job@feehi.com
 * Created at: 2017-03-15 21:16
 */

/* @var $this \yii\web\View */

/* @var $content string */

use yii\helpers\Html;
use frontend\assets\AppAsset;
use yii\helpers\Url;
use frontend\widgets\MenuView;

AppAsset::register($this);

?>
<?php $this->beginPage() ?>
    <!DOCTYPE html>
    <html lang="<?= Yii::$app->language ?>">
    <head>
        <title><?= Html::encode($this->title) ?></title>
        <?php $this->head() ?>
        <?php ! isset($this->metaTags['keywords']) && $this->registerMetaTag(['name'    => 'keywords',
                                                                              'content' => Yii::$app->feehi->seo_keywords
        ], 'keywords'); ?>
        <?php ! isset($this->metaTags['description']) && $this->registerMetaTag(['name'    => 'description',
                                                                                 'content' => Yii::$app->feehi->seo_description
        ], 'description'); ?>
        <meta charset="<?= Yii::$app->charset ?>">
        <?= Html::csrfMetaTags() ?>
        <meta http-equiv="X-UA-Compatible" content="IE=10,IE=9,IE=8">
        <meta name="viewport"
              content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
        <style>
            header {
                text-align: center;
            }

            .item {
                margin-left: 10px;
                margin-right: 10px;
                margin-top: 20px;
                padding-bottom: 20px;
            }

            .row {
                margin-bottom: 20px;
            }

            .des {
                /*border:1px solid #d009b7;*/
                padding: 10px 20px;
                border-top-left-radius: 20px;
                border-bottom-left-radius: 20px;
                border-top-right-radius: 20px;
                border-bottom-right-radius: 20px;
                box-shadow: 5px 5px 5px #cac8c8;
                background-color: rgba(255, 66, 86, 0.53);
                color: white;
                font-size: 1.2em;
                font-weight: bold;
            }

            .time {
                padding-top: 15px;
                padding-right: 10px;
            }

            .form {
                position: fixed;
                left: 0;
                bottom: 0;
                width: 100%;
            }
            .delete{
                text-decoration: none;
                background-color: #6d8caa;
                padding: 1px 5px;
                display:inline-block ;
                color: white;
                border-radius: 50%;
            }
            .delete:hover{

            }
        </style>
    </head>
    <?php $this->beginBody() ?>
    <body class="home blog">


    <header>
        <h4>老彭今天吃了什么！</h4>
    </header>
    <section class="container">
        <div class="speedbar"></div>
        <?= $content ?>
    </section>


    <div class="rollto" style="display: none;">
        <button class="btn btn-inverse" data-type="totop" title="back to top"><i class="fa fa-arrow-up"></i></button>
    </div>

    </body>
    <?php $this->endBody() ?>
    </html>
<?php $this->endPage() ?>